package com.yuhanginfo.modules.web.service;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yuhanginfo.common.service.WebCrudService;
import com.yuhanginfo.modules.web.dao.CarVinDicDao;
import com.yuhanginfo.modules.web.entity.CarVinDic;

/**
 * 公告信息Service
 * 
 * @author Y.j
 * @version 2017-11-10
 */
@Service
@Transactional(readOnly = true)
public class CarVinDicService extends WebCrudService<CarVinDicDao, CarVinDic> {

	@Autowired
	private CarVinDicDao carVinDicdao;

	public CarVinDic get(String id) {
		return super.get(id);
	}

	public List<CarVinDic> getAllGroupByCarId() {
		return carVinDicdao.getAllGroupByCarId();
	}
	
}
